package com.blrs.service.questionnaire;

import java.util.List;
import com.blrs.domain.QuestionnaireAnswers;

/**
 * 问卷答案Service接口
 * 
 * @author yang
 * @date 2023-11-28
 */
public interface IQuestionnaireAnswersService 
{
    /**
     * 查询问卷答案
     * 
     * @param solutionId 问卷答案主键
     * @return 问卷答案
     */
    public QuestionnaireAnswers selectQuestionnaireAnswersBySolutionId(Long solutionId);

    /**
     * 查询问卷答案列表
     * 
     * @param questionnaireAnswers 问卷答案
     * @return 问卷答案集合
     */
    public List<QuestionnaireAnswers> selectQuestionnaireAnswersList(QuestionnaireAnswers questionnaireAnswers);

    /**
     * 新增问卷答案
     * 
     * @param questionnaireAnswers 问卷答案
     * @return 结果
     */
    public int insertQuestionnaireAnswers(QuestionnaireAnswers questionnaireAnswers);

    /**
     * 修改问卷答案
     * 
     * @param questionnaireAnswers 问卷答案
     * @return 结果
     */
    public int updateQuestionnaireAnswers(QuestionnaireAnswers questionnaireAnswers);

    /**
     * 批量删除问卷答案
     * 
     * @param solutionIds 需要删除的问卷答案主键集合
     * @return 结果
     */
    public int deleteQuestionnaireAnswersBySolutionIds(Long[] solutionIds);

    /**
     * 删除问卷答案信息
     * 
     * @param solutionId 问卷答案主键
     * @return 结果
     */
    public int deleteQuestionnaireAnswersBySolutionId(Long solutionId);
}
